import serve from './../Base/Http.js'
import qs from 'qs'
    // 数据列表
export default {
    message (){
        return serve({
            method:'get',
            params:{
                _gp:"admin.merchant",
                _mt:"getMerchant",
              }
        })
    },
    
    updates(ruleForm,imageUrl){
        return serve({
            method:'post',
            data:qs.stringify({
                _gp:"admin.merchant",
                _mt:"updateMerchant",
                  title:ruleForm.title,
                  logoUrl:imageUrl,
                  description:ruleForm.description,
                  address:ruleForm.address,
                  showType:ruleForm.showType,
              })
        }) 
    },
   

}
        
        